package com.kaoker.system.dao;

import java.util.List;

import com.kaoker.system.entity.ExamLevel;
import com.kaoker.system.entity.Subject;

/**
 * 考试科目的接口.
 * 
 * @author bladestone
 *
 */
public interface ISubjectDao {
    public void addSubject(Subject subject);
    
    public List<Subject> getSubjectsByLevel(String level);
    public List<Subject> getSubjectsByLevel(ExamLevel level);
    public List<Subject> getSubjectsByLevel(Long id);
    
    public void deleteSubject(Subject subject);
    
    public Subject getSubject(String name);
    public Subject getSubject(Long id);
    
    public void updateSubject(Subject subject);
}
